<?php

require_once ('BaseService.php');
//DONE
/**
 * @author Virtualidad
 * @version 1.0
 * @created 29-dic-2010 09:57:49 a.m.
 */
class PaisesService extends BaseService {

    public function __construct($serviceBaseURL) {
        parent::__construct($serviceBaseURL);
    }

    public function getServiceClass() {
        return "Paises";
    }

    function GetAll() {
        $response = parent::invokeService("GetAll");
        Loader::using("models::entities::Paises");
        $result = parent::processArrayResponse($response, parent::getMimeType(), "Paises");
        return $result;
    }

    /**
     *
     * @param string $Id
     * @return <type>
     */
    function GetById($Id) {
        $response = parent::invokeService("GetById", $Id);
        Loader::using("models::entities::Paises");
        $result = parent::processSingleObjectResponse($response, parent::getMimeType(), "Paises");
        return $result;
    }

}

?>